Skip to content

Add a sample post template#430

Merged
frankieroberto merged 9 commits intomainfrom
add-example-template
Apr 8, 2026
Merged

Add a sample post template#430
frankieroberto merged 9 commits intomainfrom
add-example-template

Conversation

@frankieroberto
Copy link
Copy Markdown
Collaborator

@frankieroberto frankieroberto commented Mar 25, 2026

This is aimed to make it quicker to get started, by giving you a template you can copy with all the relevant fields.

There is a 'Copy code' button to help you quickly copy it into a code editor.

localhost_8080_guide_a-sample-template_

This is aimed to make it quicker to get started, by giving you a template you can copy with all the relevant fields.
@edwardhorsford edwardhorsford temporarily deployed to dsps-design-add-example-vigpee March 25, 2026 17:06 Inactive
@frankieroberto frankieroberto self-assigned this Mar 26, 2026
Copy link
Copy Markdown
Collaborator

@veroje veroje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff, Frankie. Maybe add some other elements like lists and a table?

@frankieroberto frankieroberto temporarily deployed to dsps-design-add-example-vigpee March 26, 2026 10:21 Inactive
Comment on lines +19 to +32
title: This is the title of the post
date: 2025-12-01
description: This description will appear on index pages.
tags:
- add
- tags
- to help group
- related posts
author:
- Your Name (optional)
- Another Name
opengraphImage:
src: /your-service/2025/12/post-title/image-name.png
alt: Alternative text for the lead image (appears when sharing)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably say which of these are optional or not

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think technically everything is optional apart from title and date. Wasn't sure how best to make this clear though. Perhaps rather than adding (optional) it's better to have a line above the template saying something like:

All metadata is optional except for the title and date. Delete any lines you do not need.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@edwardhorsford Updated in b9a0ffd - look ok?

Co-authored-by: Ed Horsford <mail@edwardhorsford.com>
@frankieroberto frankieroberto temporarily deployed to dsps-design-add-example-vigpee March 26, 2026 10:46 Inactive
@frankieroberto frankieroberto temporarily deployed to dsps-design-add-example-vigpee March 26, 2026 14:01 Inactive
@roobottom
Copy link
Copy Markdown
Collaborator

Looks good. Can you include a markdown example for a figure with image and figcaption?

@frankieroberto
Copy link
Copy Markdown
Collaborator Author

Looks good. Can you include a markdown example for a figure with image and figcaption?

@roobottom ah - @veroje suggested the same thing in #430 (comment). I've added it in a89ff96

@frankieroberto frankieroberto changed the title Add a post template Add a sample post template Apr 8, 2026
@frankieroberto frankieroberto requested a review from veroje April 8, 2026 15:45
@frankieroberto frankieroberto temporarily deployed to dsps-design-add-example-9lkcm7 April 8, 2026 15:46 Inactive
Copy link
Copy Markdown
Collaborator

@veroje veroje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one, Frankie, thanks for making this page!

@frankieroberto frankieroberto temporarily deployed to dsps-design-add-example-9lkcm7 April 8, 2026 16:05 Inactive
@frankieroberto frankieroberto temporarily deployed to dsps-design-add-example-9lkcm7 April 8, 2026 16:09 Inactive
@frankieroberto frankieroberto merged commit 23f9800 into main Apr 8, 2026
3 checks passed
@frankieroberto frankieroberto deleted the add-example-template branch April 8, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants